﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace J.M.Inventory.Domain.DTO
{
    public class WarehouseDTO
    {
        /// <summary>
        /// 仓库编号
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, ColumnDescription = "仓库表id")]
        public string warehousecode { get; set; }

        /// <summary>
        /// 仓库名称
        /// </summary>
        [SugarColumn(ColumnDescription = "仓库名称", Length = 50)]
        public string? warehousename { get; set; }

        /// <summary>
        /// 仓库父id
        /// </summary>
        [SugarColumn(ColumnDescription = "仓库父id", Length = 50)]
        public string? fid { get; set; }

        /// <summary>
        /// 负责人
        /// </summary>
        [SugarColumn(ColumnDescription = "负责人", Length = 50)]
        public string? principalname { get; set; }

        /// <summary>
        /// 仓库状态
        /// </summary>
        [SugarColumn(ColumnDescription = "仓库状态")]
        public bool waerhousestate { get; set; }

        /// <summary>
        /// 仓库地址
        /// </summary>
        [SugarColumn(ColumnDescription = "仓库地址", Length = 500)]
        public string? warehouseadd { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(ColumnDescription = "备注", Length = 500)]
        public string? remark { get; set; }
    }
}
